JavaScript

listObj.resetRow Method

Syntax

listObj.resetRow([options]);

Arguments

optionsJSON Object

A JSON object of optional properties. Available options listed below:

promptboolean

true/false - If true, prompts for confirmation before resetting the row.

Description

Resets a List row that has been edited to its original values. If the row has been marked as deleted, the row is restored to the List.

Example

var listObj = {dialog.object}.getControl("LIST1");

if (listObj) {
    var opts= {};
    opts.prompt = false;

    listObj.resetRow(opts);
}

Limitations

List Control with Detail View Part

See Also